package com.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface Data {
    @Select("select count(*) from user")
    int getUser_number();
    @Select("select count(*) from inspector")
    int getInspector_number();
    @Select("select count(*) from outs where times like '%${times}%'")
    int getDay_out(@Param("times") String times);
    @Select("select count(*) from enter where times like '%${times}%'")
    int getDay_enter(@Param("times") String times);

}
